<style>
  h2:before, h2:after { content: " "; display: table; }
  span {white-space: pre; }
</style>

<div><h2>Heading</h2><span>\nParagraph</span></div>
